//
//  MovieModel.m
//  12.30_homework_豆瓣电影MVC
//
//  Created by dllo on 15/12/30.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "MovieModel.h"

@implementation MovieModel

+ (MovieModel *)movie {
    return [[[MovieModel alloc] init] autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"images"]) {
        self.image = value[@"large"];
    }
    
}

- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}

@end
